#include "include/config.h"
#include "include/corba.h"
#include "corba.h"

namespace zero
{
ORB orb;

void INITTEXT corba_init(void)
{
}

Object::~Object()
{
}
EXPORT_CXX_TEXT(_ZN4zero6ObjectD0Ev);
EXPORT_CXX_TEXT(_ZN4zero6ObjectD1Ev);
EXPORT_CXX_TEXT(_ZN4zero6ObjectD2Ev);

EXPORT_CLASS_TYPEINFO(_ZTVN4zero6ObjectE, _ZTIN4zero6ObjectE);

ServerObject::~ServerObject()
{
}
EXPORT_CXX_TEXT(_ZN4zero12ServerObjectD0Ev);
EXPORT_CXX_TEXT(_ZN4zero12ServerObjectD1Ev);
EXPORT_CXX_TEXT(_ZN4zero12ServerObjectD2Ev);

EXPORT_CLASS_TYPEINFO(_ZTVN4zero12ServerObjectE, _ZTIN4zero12ServerObjectE);

Exception::~Exception() throw()
{
}
EXPORT_CXX_TEXT(_ZN4zero9ExceptionD0Ev);
EXPORT_CXX_TEXT(_ZN4zero9ExceptionD1Ev);
EXPORT_CXX_TEXT(_ZN4zero9ExceptionD2Ev);

const char* Exception::what() const throw()
{
	return "zero::Exception";
}
EXPORT_CXX_TEXT(_ZNK4zero9Exception4whatEv);

std::size_t Exception::getLength()
{
	return 0;
}
EXPORT_CXX_TEXT(_ZN4zero9Exception9getLengthEv);
EXPORT_CXX_TEXT(_ZTv0_n12_N4zero9Exception9getLengthEv);

void Exception::marshal(DataEncoder& out, void* v)
{
}
EXPORT_CXX_TEXT(_ZN4zero9Exception7marshalERNS_11DataEncoderEPv);
EXPORT_CXX_TEXT(_ZTv0_n16_N4zero9Exception7marshalERNS_11DataEncoderEPv);

void Exception::demarshal(DataDecoder& in, void* v)
{
}
EXPORT_CXX_TEXT(_ZN4zero9Exception9demarshalERNS_11DataDecoderEPv);
EXPORT_CXX_TEXT(_ZTv0_n20_N4zero9Exception9demarshalERNS_11DataDecoderEPv);

EXPORT_CLASS_TYPEINFO(_ZTVN4zero9ExceptionE, _ZTIN4zero9ExceptionE);
}

void* operator new(std::size_t sz, zero::CalleeLocation cl) throw (std::bad_alloc)
{
	return ::operator new(sz);
}
EXPORT_CXX_TEXT(_ZnwjN4zero14CalleeLocationE);
